﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MainWap.Master" Inherits="System.Web.Mvc.ViewPage<LangMauViet.Models.Entity.Images>" %>

<%@ Import Namespace="LangMauViet.Classes.Helper" %>
<%@ Import Namespace="LangMauViet.Models.Entity" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    langmauviet.vn - <%=Model.Name %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% var image = (Images)ViewData["ImageDetail"];
       var hotImage = (List<HotItem>)ViewData["hotImage"]; %>
    <div id="searchbox">
        <div class="keyword">
            <span class="hot">Chủ đề HOT</span>:
            <% if (!ReferenceEquals(hotImage, null))
               {
                   for (int i = 0; i < hotImage.Count; i++)
                   {
                       if (i < hotImage.Count - 1)
                       { %>
            <a href="/Anh/Chi-tiet/<%= hotImage[i].Icon %>/<%= UIHelper.convertToUnSign(hotImage[i].Name) %>">
                <%= hotImage[i].Name%></a> <span style="font-size: 12px;">|</span>
            <% }
                       else
                       {%>
            <a href="/Anh/Chi-tiet/<%= hotImage[i].Icon %>/<%= UIHelper.convertToUnSign(hotImage[i].Name) %>">
                <%= hotImage[i].Name%></a>
            <%}
                   }
               }%>
        </div>
    </div>
    <div class="clearfix">
    </div>
    <div id="content">
        <h2>
            <span>
                <%=image.Name%></span></h2>
        <div class="detail">
            <!-- Form dang nh?p cho thu� bao ngo?i m?ng khi h? d� dang k� xong -->
            <div class="wap_image_detail clear clip-detail">
                <center>
                    <img src='http://vipmobi.net:7001/mobile/download?v=1&w=250&id=<%=image.Icon%>' alt=""
                        width="80%" />
                   <%-- <div class="left clear" style="width: 100%; margin-top: 20px; padding-bottom: 20px;">
                        <%=image.Name %>
                    </div>--%>
                </center>
            </div>

            <div class="clearfix">
            </div>
        </div>
        <h2>
            <span>&nbsp;Ảnh HOT</span></h2>
        <%
            var lImageHost = (List<Images>)ViewData["listImageHot"];
        %>
        <div class="v-list">
            <% if (!ReferenceEquals(lImageHost, null))
               {
                   foreach (Images v in lImageHost)
                   { %>
            <div class="v-item ">
                <table>
                    <tbody>
                        <tr valign="top">
                            <td class="left">
                                <a href="/Anh/Chi-tiet/<%= v.Icon %>/<%=UIHelper.convertToUnSign(v.Name) %>">
                                    <img alt="<%= v.Name %>" src="http://vipmobi.net:7001/mobile/download?v=1&w=250&id=<%= v.Icon %>">
                                </a>
                            </td>
                            <td class="right">
                                <div class="title">
                                    <a href="/Anh/Chi-tiet/<%= v.Icon %>/<%=UIHelper.convertToUnSign(v.Name) %>">
                                        <%= v.Name %>
                                    </a>
                                </div>
                                <%--<div class="subtitle">
                                    <span>4 Lượt xem </span>
                                    <div class="clearfix">
                                    </div>
                                    <span>
                                        <!--								<img src="/themes/avideo_v2/images/icon_streaming.gif"/> -->
                                        <a href="/Image/DetailImage?imageId=<%= v.Icon %>">(Xem/3000d) </a></span>
                                </div>--%>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <% }
               } %>
        </div>
        <div class="clearfix">
        </div>
        <%--<ul class="home-nav">
            <li>1</li>
            <li><a href="#">2</a></li>
            <li><a href="#">3</a></li>
            <li><a href="#">4</a></li>
            <li><a href="#">5</a></li>
            <li><a href="#">Tiếp</a></li>
        </ul>--%>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="metaheader" runat="server">
</asp:Content>
